//
//  Page.m
//  CWeekly
//
//  Created by  on 12-4-18.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "Page.h"

@implementation Page
@synthesize num,v_htmlref,t_enlarge,t_htmlref,t_thumbnails,v_enlarge,v_thumbnails;
-(void)dealloc{
    [num release];
    [v_htmlref release];
    [t_enlarge release];
     [t_thumbnails release];
     [t_htmlref release];
     [v_enlarge release];
     [v_thumbnails release];
    [super dealloc];
}
@end
@implementation Article
@synthesize pages,title,num;
-(id)init{
    self=[super init];
    if (self) {
        pages=[[NSMutableArray alloc] init];
    }
    return self;
}
-(void)dealloc{
    [pages release];
    [title release];
    [num release];
    [super dealloc];
}
@end
@implementation Forum
@synthesize articles,title,index;
-(id)init{
    self=[super init];
    if (self) {
        articles=[[NSMutableArray alloc] init];
    }
    return self;
}

-(void)dealloc{
    [articles release];
    [title release];
    [index release];
    [super dealloc];
}
@end
@implementation Document

@synthesize total,forums;
-(id)init{
    self=[super init];
    if (self) {
        forums=[[NSMutableArray alloc] init];
    }
    return self;
}

-(void)dealloc{
    [total release];
    [forums release];
    [super dealloc];
}

@end